package top.shiyiri.interface_;

/**
 * @author Aunean
 * @date 2022/1/15 20:40
 */
public interface MyInterface {

    public abstract void methodAbstract();

    public static void methodStatic() {
        System.out.println("接口中静态方法");
        privateStaticMethod();
    }

    private void privateMethod() {
        System.out.println("接口中私有方法");
    }

    private static void privateStaticMethod() {
        System.out.println("接口中私有静态方法");
    }

    public default void defaultMethod() {
        System.out.println("接口中默认方法");
    }
}
